<aside class="case-sidebar" role="complementary">
    <nav id="myAffix1" class="sidebar hidden-print affix-top">
        <div id="my_menu" class="sdmenu">
        <!--channel{app="DuxCms" label="categoryList" parent_id=7  limit=10}-->
            <div class="collapsed">
                <span>{$channel.name}<i class="fa fa-angle-down"></i></span>
                <!--list{app="DuxCms" label="categoryList" parent_id=$channel['class_id'] limit=10}-->
                <a <!--if{$list['class_id']==$categoryInfo['class_id']}-->class="active"<!--{/if}--> href="{$list.curl}">{$list.name}</a>
                <!--{/list}-->
            </div>
            <!--{/channel}-->
        </div>
    </nav>
</aside>
<script>
    $('#myAffix').affix({
        offset: {
            top: 400,
            bottom: function () {
                return (this.bottom = $('.footer').outerHeight(true))
            }
        }
    })
</script>


